package tests.mapeditor;

import harima.agameditor.mapeditor.control.MapEditorController;
import harima.agameditor.mapeditor.ui.complement.MapEditorView;
import junit.framework.TestCase;

public class MapEditorViewFixture extends TestCase{

	MapEditorView view;
	
	public void test_CreatesEditorController_ViewIsCreated_Always() throws Exception {
		view = new MapEditorView();
		MapEditorController controller = view.getController();
		assertNotNull(controller);
		assertNotNull(controller.getView());
		assertSame(view, controller.getView());
	}
	

}
